<HTML>
<HEAD>
<TITLE>RISCOS Samba Server</TITLE>
</HEAD>
<BODY bgcolor=white text=black LINK="#0000FF" VLINK="#8700BA" ALINK="#FF0000">
<H1 ALIGN=centre><IMG SRC="images/logo.jpg"> RISCOS Samba Server <IMG SRC="images/logo.jpg"></H1>
<P>
<A HREF="samba_11.htm"><IMG SRC="images/left.gif" ALIGH=LEFT BORDER=0></A> <A HREF="SAMBA.htm"><IMG SRC="images/cont.jpg" ALIGH=CENTRE BORDER=0></A> 
<HR><H2><A NAME="appendixA">Appendix A Manually Editing smb/conf</A></H2><P>
There are many parameters in Samba. The configuration windows let you edit a subset of interest to this RISCOS Samba Server. The configuration lives in the file &lt;samba$dir>.Resources.smb/conf. Manual editing of this file is <I>not</I> encouraged from this release onwards. This file is only read when !SmbServer starts up. The format of this file is exactly the same as for Linux. I've included an example smb/conf and the <A HREF="smbconf.htm">man page</A> for it. Whilst !SmbServer will understand any configuration option only a limited subset have been tested so if you stray too much from the examples then unpredictable things may happen!<P>
<P>
To share a directory the minimum you need to add to smb/conf is:
<table cellpadding="0" cellspacing="0" border="0" bgcolor=#ddffdd width=100%>
<tr>
<td valign="top"><PRE>
[ShareName]
    path = ADFS::HardDisc4.$.dir  
    writable = yes
</PRE>            
</td></tr></table>
The path must be in RISCOS format not DOS format. See the example smb/conf. Shares default to being read only, add the parameter "writable" as shown to make a share writable as well as readable. Omit the "writable" to make the share read only.<P>
<P>
<HR>
<A HREF="samba_11.htm"><IMG SRC="images/left.gif" ALIGH=LEFT BORDER=0></A> <A HREF="SAMBA.htm"><IMG SRC="images/cont.jpg" ALIGH=CENTRE BORDER=0></A> <P>
<I>RISCOS Samba Server</I>
</BODY>
</HTML>
